
LOCAL_PATH := $(call my-dir)

# ====================================================================
# libAAC2
# ====================================================================
include $(CLEAR_VARS)
LOCAL_MODULE := libAAC2

LOCAL_MODULE_TAGS := optional
LOCAL_JACK_ENABLED := disabled

LOCAL_C_INCLUDES := \
        libAACdec/include  \
        libAACenc/include  \
        libPCMutils/include  \
        libFDK/include  \
        libSYS/include  \
        libMpegTPDec/include  \
        libMpegTPEnc/include  \
        libSBRdec/include  \
        libSBRenc/include  \

SRC_LIST :=libAACdec/src/*.cpp)
LOCAL_SRC_FILES += $(SRC_LIST:$(LOCAL_PATH)/%=%)



LOCAL_CFLAGS := \
    -DBUILD_FOR_ANDROID \
    -Wno-error=date-time \
    -Wno-error=int-conversion \
        -Wno-sequence-point   \
        -Wno-extra  \
        -Wno-warnings  \
        -Wno-constant-logical-operand  \
        -Wno-self-assign   \

LOCAL_LDFLAGS := -Wl,--unresolved-symbols=ignore-all \

#LOCAL_LDFLAGS := -llog  \

LOCAL_SHARED_LIBRARIES := \

include $(BUILD_SHARED_LIBRARY)
